package com.shop.cloud.domain.hongfu;

import java.sql.Timestamp;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.shop.cloud.common.mybatis.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.ToString;

/**
 * 
 * order_product_detail-
 *
 */
@ToString
@EqualsAndHashCode(callSuper = true)
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonIgnoreProperties(value = {"hibernateLazyInitializer", "handler", "fieldHandler"}, ignoreUnknown = true)
public class OrderProductDetail extends BaseEntity{

	private static final long serialVersionUID = 1L;
    
	/**
	 * 订单号
	 */
	@ApiModelProperty(value = "订单号")
	 private String orderNo;
	/**
	 * 商品ID
	 */
	@ApiModelProperty(value = "商品ID")
	 private Long goodsId;
	/**
	 * 商品相关规格ID
	 */
	@ApiModelProperty(value = "商品相关规格ID")
	 private Long goodsProductId;
	/**
	 * 购买数量
	 */
	@ApiModelProperty(value = "购买数量")
	 private Integer goodsNum;
	/**
	 * 商品价格
	 */
	@ApiModelProperty(value = "商品价格")
	 private Float goodsAmount;
	/**
	 * 商品积分
	 */
	@ApiModelProperty(value = "商品积分")
	 private Integer goodsPoints;
	/**
	 * 创建时间
	 */
	@ApiModelProperty(value = "创建时间")
	 private Timestamp createTime;
	/**
	 * 备注
	 */
	@ApiModelProperty(value = "备注")
	 private String remark;
    
    public OrderProductDetail(){
    
    }
    
    public String getOrderNo() {
        return this.orderNo;
    }
    
    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo;
    }
    public Long getGoodsId() {
        return this.goodsId;
    }
    
    public void setGoodsId(Long goodsId) {
        this.goodsId = goodsId;
    }
    public Long getGoodsProductId() {
        return this.goodsProductId;
    }
    
    public void setGoodsProductId(Long goodsProductId) {
        this.goodsProductId = goodsProductId;
    }
    public Integer getGoodsNum() {
        return this.goodsNum;
    }
    
    public void setGoodsNum(Integer goodsNum) {
        this.goodsNum = goodsNum;
    }
    public Float getGoodsAmount() {
        return this.goodsAmount;
    }
    
    public void setGoodsAmount(Float goodsAmount) {
        this.goodsAmount = goodsAmount;
    }
    public Integer getGoodsPoints() {
        return this.goodsPoints;
    }
    
    public void setGoodsPoints(Integer goodsPoints) {
        this.goodsPoints = goodsPoints;
    }
    
    public Timestamp getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Timestamp createTime) {
		this.createTime = createTime;
	}

	public String getRemark() {
        return this.remark;
    }
    
    public void setRemark(String remark) {
        this.remark = remark;
    }

}